473,699 Members | 3,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1594

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

Similar topics

2
1809
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 than 2.0.48, the current latest ? I have built php4 before without problems. After trying a variety of things and never getting a libphp5.so, I am at a loss as to how to go about this. (When I did a configure without using the --with-apxs2,
3
2639
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 to php.exe in the PHP5 folder, but when I then call up a .php page, it just stalls. If I then point the IIS .php executable over to php.exe in the
3
2107
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 with the php module loaded. When I look at this code with my IE browser: <? phpinfo(); ?> or
6
2253
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 error popup two or three times, all with the same message: PHP Startup: Invalid library (maybe not a PHP library) 'libmysql.dll' I've tried all manner of variations of extension_dir, and copied libmysql.dll from the php5 distro into...
1
3205
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 Oracle_home renaming workaround, Oracle would not support it.) Now I just tried re-installing Oracle 9i and I encountered the same problem: it won't let me install on an Oracle home where there are Oracle 7 or 8.0 components (!)
0
1482
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 - Apache 2.0.54 - MySQL 4.1.14
8
1660
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 - added the following lines to the httpd.conf file for Apache # Adding module references for PHP LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php
1
1980
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
1175
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 the script, not the page. and then i press F5 and this message is shown: Forbidden You don't have permission to access /Index.php on this server I made the instal in Win XP, i don't have admin rights so it's a little more difficult to me.
0
8623
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9187
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8936
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8894
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7776
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3071
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2360
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.