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

Help installing pdo modules on a freebsd server

Hi all,

I'm trying to install two extensions into my php configuration;
pdo and pdo_mysql
I have downloaded the following packages;
http://pecl.php.net/get/PDO-1.0.3.tgz
and
http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz
I have decompressed them and then this is where I get stuck. I can not
find any documention on what to do next.
There is a Makefile.frag in the uncompressed directory, but I'm not
sure what to do with it.

How do I install these packages so I can include the pdo.so and
pdo_mysql.so in my extensions.ini file?

Any help would be greatly appreciated.

Cheers
Marty.
Jun 2 '08 #1
4 3171
On Wed, 21 May 2008 07:59:40 +0200, MDMC <ma************@gmail.comwrote:
Hi all,

I'm trying to install two extensions into my php configuration;
pdo and pdo_mysql
I have downloaded the following packages;
http://pecl.php.net/get/PDO-1.0.3.tgz
and
http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz
I have decompressed them and then this is where I get stuck. I can not
find any documention on what to do next.
There is a Makefile.frag in the uncompressed directory, but I'm not
sure what to do with it.

How do I install these packages so I can include the pdo.so and
pdo_mysql.so in my extensions.ini file?

Any help would be greatly appreciated.
The easiest way is by using Pecl:
pecl install PDO
pecl install PDO_MYSQL

--
Rik Wasmus
....spamrun finished
Jun 2 '08 #2
On May 21, 5:12*pm, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Wed, 21 May 2008 07:59:40 +0200, MDMC <martinmcgre...@gmail.comwrote:
Hi all,
I'm trying to install two extensions into my php configuration;
pdo and pdo_mysql
I have downloaded the following packages;
http://pecl.php.net/get/PDO-1.0.3.tgz
and
http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz
I have decompressed them and then this is where I get stuck. I can not
find any documention on what to do next.
There is a Makefile.frag in the uncompressed directory, but I'm not
sure what to do with it.
How do I install these packages so I can include the pdo.so and
pdo_mysql.so in my extensions.ini file?
Any help would be greatly appreciated.

The easiest way is by using Pecl:
pecl install PDO
pecl install PDO_MYSQL

--
Rik Wasmus
...spamrun finished
Thanks for your reply. Although, I dont have pecl. I also couldnt find
a way to install that.

Marty.
Jun 2 '08 #3
MDMC schreef:
How do I install these packages so I can include the pdo.so and
pdo_mysql.so in my extensions.ini file?
If you can't use pecl, you can attempt installation by running `phpize`
first, followed by `./configure --help' to check the configuration
options and flags.

The phpize command should be available on your system when you installed
PHP via portinstall.
JW
Jun 2 '08 #4
On May 21, 11:36*pm, Janwillem Borleffs <j...@jwscripts.comwrote:
MDMC schreef:
How do I install these packages so I can include the pdo.so and
pdo_mysql.so in my extensions.ini file?

If you can't use pecl, you can attempt installation by running `phpize`
first, followed by `./configure --help' to check the configuration
options and flags.

The phpize command should be available on your system when you installed
* PHP via portinstall.

JW
Fantastic. Thanks a lot JW.

Turns out i can't install it with my version of php. I put PDO on
another server and it installed smoothly.

Cheers
MDMC
Jun 2 '08 #5

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

Similar topics

0
by: Alex Lapp | last post by:
Hi ng, i have a problem installing cvs module from: http://www.object-craft.com.au/projects/csv/ My Python version is: Python 2.1.3 (Not the latest, but i need this version for running Zope...
3
by: Rickard Lind | last post by:
Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm trying to run python scripts on a stripped down FreeBSD (4.9) machine...
7
by: Edward Diener | last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a number of Linux utilities and commands, like yum, stop working because they were dependent on the Python 2.3 installation....
51
by: Reinhold Birkenfeld | last post by:
Hello, at the moment python-dev is discussing including Jason Orendorff's path module into the standard library. Do you have any other good and valued Python modules that you would think are...
0
by: renniw one | last post by:
Hi, Can anyone point me to a resource which details the process of compiling mysql server with openssl support on windows using VC++ preferable? If not, maybe someone has run across this problem...
6
by: Conrad | last post by:
Greetings, In short: Using a new FreeBSD (4.9) PostgreSQL (7.3) server, can I rescue PostgreSQL data from a hard drive pulled from an older (motherboard just died) FreeBSD (4.??) PostgreSQL...
1
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed....
7
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution...
5
by: jgelfand | last post by:
I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) 64-bit machine. Running "./configure --prefix="/ usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but I get the...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.