hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Compiled PHP now ****
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Compiled PHP now ****

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2011, 07:12 AM
RandomLittleHost RandomLittleHost is offline
Web Hosting Master
 
Join Date: Jan 2004
Location: South East U.K.
Posts: 1,273

Compiled PHP now ****


Hi all,

I decided to compile the latest version of PHP on a VPS currently installed with an earlier RPM based version. I thought I knew what I was doing because I've done this a few times on other VPS's, but now, when trying to start php-fpm I get the following error -

PHP Warning: PHP Startup: dbase: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0

There's many more errors like this but I haven't a clue where to start looking for the problem

Thanks for looking

Reply With Quote


Sponsored Links
  #2  
Old 06-21-2011, 07:16 AM
cptechie cptechie is offline
Web Hosting Evangelist
 
Join Date: Jan 2011
Posts: 451
Hello,

What errors are you getting in the error logs? Same errors? Can you post them here.

__________________
" Your work is to discover your work and then with all your heart to give yourself to it. "

That's the mark of a true professional !

Reply With Quote
  #3  
Old 06-21-2011, 07:22 AM
RandomLittleHost RandomLittleHost is offline
Web Hosting Master
 
Join Date: Jan 2004
Location: South East U.K.
Posts: 1,273
There's nothing in the main logs, if there's a PHP specific log I don't know where to find it

Reply With Quote
Sponsored Links
  #4  
Old 06-21-2011, 07:24 AM
cptechie cptechie is offline
Web Hosting Evangelist
 
Join Date: Jan 2011
Posts: 451
Hello,

You need to check the apache error logs. Please post the apache error_log here.

__________________
" Your work is to discover your work and then with all your heart to give yourself to it. "

That's the mark of a true professional !

Reply With Quote
  #5  
Old 06-21-2011, 07:36 AM
Mohammed H Mohammed H is online now
WHT Addict
 
Join Date: Oct 2010
Location: Iraq
Posts: 168
Dear Sir,

try to compile dbase addon again or may be disabling dbase extension from loading at startup through php.ini.

as for error log by default php save error log in your current dir.

mean if you executed php in /root dir error log will be in /root/error_log.

Highest Regards
Mohammed H

__________________
www.xsltel.com
Simplest way to host your website

Reply With Quote
  #6  
Old 06-21-2011, 07:45 AM
RandomLittleHost RandomLittleHost is offline
Web Hosting Master
 
Join Date: Jan 2004
Location: South East U.K.
Posts: 1,273
@cptechie I'm running Nginx, not Apache, but that's shut down until I resolve this problem

@XSLTel There's a whole bunch of similar errors, but I'll try recompiling them again (will take some time)

Reply With Quote
  #7  
Old 06-21-2011, 08:49 AM
RandomLittleHost RandomLittleHost is offline
Web Hosting Master
 
Join Date: Jan 2004
Location: South East U.K.
Posts: 1,273
Sorted (I think)!!

Removed all RPM based PHP stuff & recompiled from source, not getting the errors any more, just some output when trying to start php-fpm that leads me to believe I just need to go through the configuration files and make sure everything's right in there

php -v is showing the correct version with no errors

Reply With Quote
  #8  
Old 06-21-2011, 02:11 PM
krizag krizag is offline
Web Hosting Guru
 
Join Date: May 2009
Posts: 274
Quote:
Originally Posted by RandomLittleHost View Post
Sorted (I think)!!

Removed all RPM based PHP stuff & recompiled from source, not getting the errors any more, just some output when trying to start php-fpm that leads me to believe I just need to go through the configuration files and make sure everything's right in there

php -v is showing the correct version with no errors
are you able to load a phpinfo page without any errors?

Reply With Quote
  #9  
Old 06-21-2011, 02:13 PM
Crashus Crashus is offline
Corporate Member
 
Join Date: Apr 2009
Posts: 801
glad to hear

usually problems like these are caused by package dependencies like old php-extensions or similar

Reply With Quote
  #10  
Old 06-21-2011, 02:37 PM
RandomLittleHost RandomLittleHost is offline
Web Hosting Master
 
Join Date: Jan 2004
Location: South East U.K.
Posts: 1,273
Quote:
Originally Posted by krizag View Post
are you able to load a phpinfo page without any errors?
Yep, phpinfo page is working fine & so is my newly installed Wordpress blog

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Compiled as Apache eugeneo Hosting Security and Technology 13 07-23-2006 02:05 PM
PHP on Windows with Pspell compiled. rurbaniak Hosting Security and Technology 0 05-16-2005 11:02 AM
php compiled with curl? Salvatore Programming Discussion 10 10-09-2004 02:53 AM
compiled php scripts innova Hosting Security and Technology 3 05-07-2004 03:15 AM
php compiled as binary? ntwaddel Programming Discussion 4 08-29-2002 04:34 PM

Related posts from TheWhir.com
Title Type Date Posted
Colocation Firm FiberMedia Completes SSAE 16 Audit Web Hosting News 2012-08-22 17:10:33
Nebraska Seeks to Win Massive $1.2 Billion Data Center Contract Web Hosting News 2012-02-06 14:54:24
India Cloud Market Projected to Hit $16 Billion by 2020: Study Web Hosting News 2011-12-29 19:48:42
Web Host Enteracloud Outlines Emerging Cloud Trends in Whitepaper Web Hosting News 2011-11-04 16:18:04
Q&A: Joyent's Jason Hoffman on SmartOS Cloud Server Web Hosting News 2011-09-02 14:08:28


Tags
php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?