Error on one server but another
Moderator: General Moderators
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Error on one server but another
Fatal error: Call to undefined function: stripos()
Any reason this would give me an error on my server but not on any other box i put it on?
I know its not the code since it works on 2 other servers.
Thanks for the advice.
Any reason this would give me an error on my server but not on any other box i put it on?
I know its not the code since it works on 2 other servers.
Thanks for the advice.
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Sorry let mereword this.
Everythign was working fine. Except i needed php5.
I do a apt-get isntall libapache2-php5
Only problem is i only have apache1.
Now all my domains stoped pointing to the right spot and now point to "it works"
I checked the config files but they are all the same.
Any suggestions?
Everythign was working fine. Except i needed php5.
I do a apt-get isntall libapache2-php5
Only problem is i only have apache1.
Now all my domains stoped pointing to the right spot and now point to "it works"
I checked the config files but they are all the same.
Any suggestions?
I'm guessing that your httpd.conf file was overwritten. There should be an auto generated backup. See if you can find httpd.conf.bak
If you find that, rename the current httpd.conf to httpd.conf.new and rename httpd.conf.bak to httpd.conf and restart apache.
I have no clue if that will restore things or not, and even if it does the file may require some modifications to get it working with the new version of PHP.
That's about all the advice I can give you.
If you find that, rename the current httpd.conf to httpd.conf.new and rename httpd.conf.bak to httpd.conf and restart apache.
I have no clue if that will restore things or not, and even if it does the file may require some modifications to get it working with the new version of PHP.
That's about all the advice I can give you.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Is there a reason you didn't use the following?
Code: Select all
apt-get install php5 libapache-mod-php5-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm