Need help with PHP

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Need help with PHP

Postby ramonvel » Thu May 29, 2008 3:52 pm

Hi Guys :?

I've been working on this machine for three days, dealing with php and apache. The PHP page doesn't work. Not with Vicidial, not with a PHP test script. I'm pulling my hair off. I need help please.

Machine is a Dell Poweredge 2550 (2) 1 GHZ , 2GB RAM, RAID 5 (Will be used in a no more than Seven Agents scenario + PBX).

I have tried with Slackware 12 , PHP 4.4.7 & PHP 4.4.8, PHP-5.2.6 , httpd-2.0.61, httpd-2.0.63, httpd-2.2.8 but no luck.

Then I scratched installed Slackware 12.1. Installed appropriate applications, but no positive result.

When I type:

root@voip:/usr/local# httpd -v
Server version: Apache/2.2.8 (Unix)
Server built: Feb 14 2008 15:37:26

Apache/2.2.8 comes up instead of the apache/2.0.63. Could this be the reason is not working. Can you guys help me to resolve it.

Thanks,

P.S. I have installed Vicidial and Slackware on several machines before and I had a little bit of trouble, but I was always able to resolve. This time, however, I don't seem to find a solution. :(
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby mflorell » Thu May 29, 2008 4:26 pm

ran into this myself a couple weeks ago, first you should copy off your web pages and httpd.conf and php.ini. Then delete everything related to Apache and PHP and install them again.
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Problems with PHP and Apache

Postby ramonvel » Sun Jun 01, 2008 12:36 pm

Hi Matt,

Hi Guys. Thanks for your help Matt. I followed your recommendation, but I was out of luck. So, I reinstalled Slackware 12.1 and I sticked myself with the Apache 2.2.8 and PHP-5.2.5 already installed with the system. Then, I uncommented the mod_php.conf module. So far, everything is working great.

I also installed eaccelerator, made a small modification to prefix to match that of the original installation, and it's working fine as well. Once I finish the whole installation with Slackware 12.1, I will post my experience with it.

I noticed you recommended Asterisk 1.2.27 on another post. I want to know if the patches added under the "apps" folder (meetme_DMTF,meetme_volume, etc) would still work under 1.2.27.

Thank you for all your help,
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby mflorell » Sun Jun 01, 2008 2:19 pm

Yes, the patches will all work with 1.2.27.
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Will the Patches under "/apps" work for Asterisk 1

Postby ramonvel » Sun Jun 01, 2008 2:53 pm

Great Matt,

Thank you,
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 143 guests