473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP5.1.6 Compilation

Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning

Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922

Can any body tell me the reason of this warning
and how can we remove this warning

Oct 12 '06 #1
5 4553

You need to update your extensions from the PECL library.


tech_php wrote:
Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning

Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922

Can any body tell me the reason of this warning
and how can we remove this warning
Oct 12 '06 #2
I think that there is no need to update extension b'cause I removed old
version and then I'm doing fresh compilation of php5.1.6.
correct me if I'm wrong.

ZabMilenko wrote:
You need to update your extensions from the PECL library.


tech_php wrote:
Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning

Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922

Can any body tell me the reason of this warning
and how can we remove this warning
Oct 12 '06 #3
tech_php wrote:
Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning
>
Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922
>
Can any body tell me the reason of this warning
and how can we remove this warning
>
ZabMilenko wrote:
You need to update your extensions from the PECL library.
tech_php wrote:
I think that there is no need to update extension b'cause I removed old
version and then I'm doing fresh compilation of php5.1.6.
correct me if I'm wrong.
Maybe. Extension modules from pecl are released seperately to php and
if you were using any modules from pecl then they will need updating
now, if you havent used any pecl modules then you dont need to.

Another possibility is that the extension_dir setting needs changing,
each version of php creates a new subdirectory in the php extensions
directory to store shared extensions. You may need to change
extension_dir in php.ini from something like
/usr/local/lib/extensions/no-debug-zts-20040412 to
/usr/local/lib/extensions/no-debug-zts-20050922.

Tim

Oct 12 '06 #4
Yes
I have already done these thing.

Is there any need to compile apache also.

Tim Hunt wrote:
tech_php wrote:
Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning

Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922

Can any body tell me the reason of this warning
and how can we remove this warning

ZabMilenko wrote:
You need to update your extensions from the PECL library.
tech_php wrote:
I think that there is no need to update extension b'cause I removed old
version and then I'm doing fresh compilation of php5.1.6.
correct me if I'm wrong.

Maybe. Extension modules from pecl are released seperately to php and
if you were using any modules from pecl then they will need updating
now, if you havent used any pecl modules then you dont need to.

Another possibility is that the extension_dir setting needs changing,
each version of php creates a new subdirectory in the php extensions
directory to store shared extensions. You may need to change
extension_dir in php.ini from something like
/usr/local/lib/extensions/no-debug-zts-20040412 to
/usr/local/lib/extensions/no-debug-zts-20050922.

Tim
Oct 13 '06 #5
Well, you may just need to check the apache httpd.conf for the correct
module declaration. PHP needs to be compiled for apache, not the other way
around.

tech_php wrote:
Yes
I have already done these thing.

Is there any need to compile apache also.

Tim Hunt wrote:
>>>>tech_php wrote:
Hi,
I compiled php 5.1.6 successfully
when I'm running php from command prompt
I'm getting following warning
>
Unable to initialize module! Module compiled with module API=20040412,
debug=0, thread-safety=0!
PHP compiled with module API=20050922
>
Can any body tell me the reason of this warning
and how can we remove this warning
>
ZabMilenko wrote:
You need to update your extensions from the PECL library.
tech_php wrote:
I think that there is no need to update extension b'cause I removed old
version and then I'm doing fresh compilation of php5.1.6.
correct me if I'm wrong.
Maybe. Extension modules from pecl are released seperately to php and
if you were using any modules from pecl then they will need updating
now, if you havent used any pecl modules then you dont need to.

Another possibility is that the extension_dir setting needs changing,
each version of php creates a new subdirectory in the php extensions
directory to store shared extensions. You may need to change
extension_dir in php.ini from something like
/usr/local/lib/extensions/no-debug-zts-20040412 to
/usr/local/lib/extensions/no-debug-zts-20050922.

Tim
Oct 13 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Louis-Philippe Huberdeau | last post by:
I tryed to compile php5 (a dev snapshot) --with-mysqli=/usr/local/bin/mysql_config The configuration works just fine but the compilation crash near zif_mysqli_stmt_num_rows. Anyone experienced...
6
by: Spidah | last post by:
Looking at the list of changes made in PHP5 one of them is "Removed the bundled MySQL client library" Does anyone know exactly what this means? I assume we will still be able to code for...
8
by: Rob Ristroph | last post by:
I have tried out PHP 5 for the first time (with assistance from this group -- thanks!). The people I was working with have a site that uses lots of php objects. They are having problems with...
11
by: neur0maniak | last post by:
Hi, I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4....
4
by: badbetty | last post by:
Dear Googlers I have installed PHP5 to run on WinXP against Apache 2. It works! ie. I have tested a few simple scripts and a basic xml document parse. I now want to try the XSL extension so I...
5
by: Aziz | last post by:
Hi, I've recently contacted technical service of a web hosting company and asked them wheter or not they're gonna upgrade to PHP5 and MySQL5. Here's a quote from their response which confused me...
4
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5...
19
by: McKirahan | last post by:
I am working in two environments neither configuration of which I can change; one's my Web host the other a client. My Web host requires the use of the ".php5" extension to use PHP v5.1.4; where...
3
by: xhe | last post by:
I have just upgraded my php version form php4 to php5. and I met this problem, and don't know if you know the solution. My site was written in PHP4, and most parts can be running smoothly in PHP5,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.