#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    What I posted.

    I installed MySQL/PhP running on linux and apache 1.3.9 and I believe the installation may be faulty. MySQl works fine, but when I test any php script on any of my virtual domains it fails. I made all the recommended changes to httpd.conf, mime.types and I also have frontpage extensions on my virtual domains. Any ideas why my php fails to execute. The directory I copied the php3.ini file is /etc/httpd and php is installed on /usr/local. I have all the recommended libraries installed. If anyone is very familiar with my problem I may even be willing to pay for their services if possible.

    Helpful reply, but I am still lost !!

    It seems you are building PHP as a module for Apache (php.ini has to be copied with this type of installation). Can you probably try and build Apache with PHP (together)? I did the same configuration on my machine (though I don't have any virtual servers, but that's on the side of Apache, not PHP). Does Apache work fine? Anyway, try to compile Apache with PHP and then if you have mistakes you can probably find the problem more easily.
    Good luck, Stas

    What I did

    Did exactly everything in (../Talk/Forums/Forums/Forum15/HTML/000020.html).i.e. apache 1.3.12 and php.4.0.0. Everything worked great but (11)Uncomment= LoadModule php4_Module libexec/libphp4.so was not in the httpd.conf & (12) AddModule mod_php4.c was no where in the file. I added the lines and couldn't start apache. Without the lines php does not parse but assumes I want to download a file. I am running red-hat Linux 6.1 with apache 1.3.9-4, which I stop and installed apache 1.3.12. The earliar helpful response but I did not find any way to (install apache with php). I have unstalled the new apache and restarted my old apache 1.3.9. and it failed. I also could not find the configure command in the old apache directories like /etc/httpd /etc/httpd/lib /etc/httpd/modules /usr/include/apache /usr/sbin /usr/libexec /etc/httpd/lib/apache /etc/httpd/conf.

    Anybody who can help, please reply. I have spent days and nights on getting apache and php to work. I might be doing something awfully wrong. help...help...sos.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>(11)Uncomment= LoadModule php4_Module
    libexec/libphp4.so
    >>was not in the httpd.conf
    >>(12) AddModule mod_php4.c was no where in the file.

    Let say you followed 000020.html,
    Can you see libphp4.so in /usr/local/apache/libexec/?

    >>I also could not find the configure command in the old apache

    Yes, it can't be found if you installed the apache 1.3.9-4 RPM.

Similar Threads

  1. Flash in apache - wont work!
    By Fish_12345 in forum Apache Development
    Replies: 2
    Last Post: October 11th, 2004, 01:43 PM
  2. php script won't work inside "cgi-local" directory
    By Volitics in forum PHP Development
    Replies: 5
    Last Post: April 26th, 2004, 10:50 PM
  3. Experienced undergrad senior ... freelance work wanted
    By carrja99 in forum Hire A Programmer
    Replies: 0
    Last Post: January 28th, 2004, 11:32 PM
  4. I'll pay someone $150 to do some PHP work for me!
    By Noah Neiman in forum Hire A Programmer
    Replies: 16
    Last Post: January 23rd, 2004, 03:15 AM
  5. I need some specific php work done for my website
    By Noah Neiman in forum Hire A Programmer
    Replies: 1
    Last Post: January 20th, 2004, 11:31 PM

IMN logo majestic logo threadwatch logo seochat tools logo