Solved

Error installing phpAuction

Posted on 2009-04-06
8
368 Views
Last Modified: 2013-12-13
I am trying to install phpAuction on our website, which is hosted on LunarPages. I followed all the instructions from phpAuction very carefully, and now when I try to run the installation script I get the following error:

extension_dir does not exists /usr/local/lib/php/extensions/no-debug-non-zts-20020429

I have submitted tickets on LunarPages & phpAuction support, but they're both closed for the night and I thought I'd try asking here. What does this error mean? Any ideas how to get around it?
0
Comment
Question by:figsagee
  • 5
  • 3
8 Comments
 
LVL 19

Accepted Solution

by:
NerdsOfTech earned 250 total points
ID: 24084066
The directory where the phpAuction believes the php script to be is referenced incorrectly.

You will need to determine what your server directory path is and readjust the configuration file to point to the correct "local" directory where that file actually resides.

=NerdsOfTech
0
 

Author Comment

by:figsagee
ID: 24084169
I'm trying to run install.php, which is in the auction/admin folder on my site. The instructions had me point my browser to /auction/admin/install.php. It seems to me, based purely on my outdated and inadequate knowledge, that it would just run if you try to run it from the folder that it's in. But not so? Where is it looking for the config file?

One entry on the phpAuction knowledgebase said to create a file named php.ini that contains this line...
extension_dir = ./
and put it in the cgi-bin folder. I did that, but it didn't help. Should it be in a different folder or have a different path?

I really appreciate your help. Thank you.
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24084302
Looks like your host is Windows

Configure php.ini shold be
extension_dir = "c:\php5\ext"

Open in new window

0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24084306
php.ini
extension_dir = "c:\php5\ext"

Open in new window

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:figsagee
ID: 24084711
Our web host is a linux/apache server. Here's something I just found on the compatibility test we ran...

Setting/Option: Extension dir        
Value:  /usr/lib/php/extensions/no-debug-non-zts-20020429
Compatibility: You must place ixed files at/usr/lib/php/extensions/no-debug-non-zts-20020429/

Does that help?
0
 

Author Comment

by:figsagee
ID: 24087357
I got the following response from LunarPages support:
The php.ini file needs to go in the public_html folder on our servers. Please move your php.ini to that directory and using the following: extension_dir = / or extension_dir = You will also need to add the following to the .htaccess in the public_html folder: suPHP_ConfigPath /home/username/public_html/sub-mhvtnet/bmanager02 where "username" is your cPanel username.

I made these changes and called LunarPages to make sure I had done it correctly, but am still getting the error. They wouldn't go any further with me on phone support, but told me to reply to the ticket which I have done.



0
 

Author Comment

by:figsagee
ID: 24094083
LunarPages escalated the ticket, and one of the techs created a custom php.ini file for my account which included the correct path of the affected extension (/usr/local/lib/php/extensions/no-debug-non-zts-20060613).
That allowed the install script to run successfully, but when I tried to load the page I got the same error with a different number at the end.
The LunarPages tech adjusted the php.ini file again and now it all works.
0
 

Author Closing Comment

by:figsagee
ID: 31567356
I just didn't have enough knowledge to fully implement your solution, but it helped me understand what was happening. Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now