473,396 Members | 1,933 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,396 software developers and data experts.

HELP! installing php5.1.4 for mysqli

I'm trying to get the mysqli object-oriented syntax to work in php. I
understand that I have to have at least version 5 of php - I've
therefore opted for version 5.1.4. The remainder of my setup is as follows

php 5.1.4
mysql 4.1.10a-2.RHEL4.1
httpd-2.0.52-12.2.ent
Redhat Enterprise Linux 4

To be able to configure and compile the source of php to work with
mysqli, I've had to add the following packages:

flex (2.5.4a-33 found with apt-get install flex)
bison (1.875c-2 found with apt-get install bison)
apxs (apt-get install http-devel [2.0.52-12.2.ent])
libxml2 2-2.6.24 (only 2-2.6.16 available via apt-get)
apt-get remove libxml2
wget
"http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.24.tar.bz2"

./configure
make
make install

However, make tests results in a lot of errors as follows:
======
file:///etc/xml/catalog:1: parser error : Document is empty ^
file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not
found ^
======

mysql header files (apt-get install mysql-devel [4.1.10a-2.RHEL4.1])

source of php-5.1.4 obtained from:
wget "http://uk.php.net/get/php-5.1.4.tar.bz2/from/this/mirror"

and rebuilt with
./configure --with-mysql --with-apxs2=/usr/sbin/apxs
make
make install

When I've finished this and rebooted the machine, the phpinfo test
command doesn't bring up the PHP information page as I would hope (it
just echoes the "<?php phpinfo(); ?>" command to the screen).

Does anyone know what I'm doing wrong (or what I've missed out)?

cheers,
Laurence
--
www.reestitmutton.co.uk

Bringing you the best-value mobile phone contract deals in the UK
Presented the way it should be...in plain English

May 11 '06 #1
0 1579

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

Similar topics

2
by: Rob Ristroph | last post by:
Has anyone built the PHP5 beta 4 as an apache module ? I am using apache 2. Is there some trick, or missing instructions, or known bug ? Perhaps you have to use some version of apache earlier...
3
by: Scott Matthews | last post by:
Hey all, I just tried installing PHP5 under IIS for the first time, but I can't seem to get the php.exe to work. I unzipped the package, and pointed the IIS .php 'executable' attribute over...
3
by: Erick Howenstine | last post by:
I'm installing PhP5 on WinXP, with Apache2. In my Apache's httpd.conf file I have added LoadModule php5_module c:/php-5/php5apache2.dll and moved the .ini file to C:/Windows/php.ini Apache works...
6
by: Matt Ion | last post by:
WinXP Pro, Apache 1.3.27, trying to add PHP 5.0.4 with MySQL support to the mix. Everything works fine until I add 'extension=libmysql.dll' to php.ini, and then starting Apache gives me the same...
1
by: Monica Roman | last post by:
Hello, Disclaimer: I'm a TOTAL rookie. I just went through unistalling Oracle to be able to install Discoverer, which was succesful. (Our in-house Oracle support person said that if I did the...
0
by: Kees Pijnenburg | last post by:
Hi all, I've been reading through the lasts months of postings in this (and some other) newsgroups to find a solution to my PHP problem. The configuration I use is as follows: - SuSE v8.2...
8
by: Maddman75 | last post by:
I'm having trouble getting PHP installed on my system. I downloaded the zip file and extracted the files to C:\php. Following the documentation, I did the following - added C:\php to my PATH...
1
by: onuorah nwachukwu | last post by:
Hi can you please give me a guide line on how to install my php5 in windows vista. I think my main problem is adding my php directory to my windows path. I would be grateful if you do
3
by: CenturionX | last post by:
Hello everybody, I'm new in PHP. I finished the installation(PHP 5.2.5) and Apache(2.2.8) The servers starts wihtout errors. But when i try to seeh the test page (< ?php phpinfo() ?>) i see...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.