Home Forums OS X Server and Client Discussion Questions and Answers XServe – PHP – GD Problem

  • This topic has 3 replies, 2 voices, and was last updated 20 years ago by Anonymous.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #357821
    robfurrball
    Participant

    Howdy,

    I have search everywhere for advice on this issue to no avail. My office is running an XServe (OS X Server 10.3) with php4.3.2, Apache, and mysql. The server came with php installed, and has a nice gui interface to enable/disable it. However, one is unable to edit the php.ini file in this interface.

    We wish to enable the gd libarary for php, and usually you just uncomment that line in the .ini file and restart Apache. After uncommenting the line, a restart does no good.

    Has anyone encountered this problem or have experience with PHP on an Xserve? I look forward to hearing your responses.

    -rf

    #357854
    Anonymous
    Participant
    #359823
    Anonymous
    Guest

    The php.ini file in Panther server is actually named “php.ini.default” … you want to copy it (as root) to “php.ini”, make your modifications, then restart apache. Skip the GUI, you’re just making things harder on yourself by insisting on a GUI. Learn how to use pico, it’s easier than you think. There’s also a php page enabled by default in the root of your Panther server’s Web directory — unless you’ve deleted it outright. Open this page in your browser (info.php or something similar, dive into a shell and look in the Web root for it, unless you know you deleted everything) and you can see in your Web browser what is happening. Don’t know what the problem is with your script, because gd is enabled out of the box in Panther server, but google a bit — another forum I found before this one has a script example you can run to test gd. THen again, you posted this ages ago, so chances are you’ve fixed the problem and/or moved on already.

    #361322
    Anonymous
    Guest

    I have the same problem as Furrball. Can’t get gd2 PHP extension working in 10.3 Server.

    From your post, are you saying that php.ini.default is actually the php.ini config file for PHP in Panther?

    ;extension=php_gd2.dll is commented out in my default install within php.ini. Please clarify.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed