Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 3 of 3
Warning: popen() has been disabled
 
muzafar
Member
 
Avatar
Total Posts:  60
Joined:  2009-03-28
Lahore
 

hi,
i am facing same problem i check phpinfo where PHP safe_mode Off but still show exception of warring.

Crucial Web Host - 07 July 2008 06:55 PM

popen is commonly disabled with PHP safe_mode.

Magento explicitly requires that safe_mode be off.  If your host does not allow this you will need to make alternate hosting arrangements to properly run Magento.

Hope this helps.

Exception caught:

Warning: popen() has been disabled for security reasons in /home/fourshop/public_html/downloader/pearlib/php/OS/Guess.php on line 247

Backtrace:

#0 /home/fourshop/public_html/downloader/pearlib/php/OS/Guess.php(247): mageCoreErrorHandler(2, ‘popen() has bee...’, ‘/home/fourshop/...’, 247, Array)
#1 /home/fourshop/public_html/downloader/pearlib/php/OS/Guess.php(159): OS_Guess->_detectGlibcVersion(’/usr/bin/cpp /t...’, ‘r’)
#2 /home/fourshop/public_html/downloader/pearlib/php/OS/Guess.php(114): OS_Guess->parseSignature()
#3 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Dependency2.php(105): OS_Guess->OS_Guess(NULL)
#4 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Downloader.php(259): PEAR_Dependency2->PEAR_Dependency2()
#5 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Downloader.php(501): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4)
#6 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Downloader.php(409): PEAR_Downloader->analyzeDependencies(Object(PEAR_Config), Array, Array, 4)
#7 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Command/Install.php(629): PEAR_Downloader->download(Array)
#8 /home/fourshop/public_html/downloader/pearlib/php/PEAR/Command/Common.php(285): PEAR_Command_Install->doInstall(Array)
#9 /home/fourshop/public_html/downloader/Maged/Pear.php(234): PEAR_Command_Common->run(’install’, Array, Array)
#10 /home/fourshop/public_html/downloader/Maged/Pear.php(301): Maged_Pear->run(’install’, Array, Array)
#11 /home/fourshop/public_html/downloader/Maged/Model/Pear.php(245): Maged_Pear->runHtmlConsole(’install’, Array, Array)
#12 /home/fourshop/public_html/downloader/Maged/Controller.php(128): Maged_Model_Pear->installPackage(Array)
#13 /home/fourshop/public_html/downloader/Maged/Controller.php(355): Maged_Controller->pearInstallPackagePostAction(’magento-communi...’)
#14 /home/fourshop/public_html/downloader/Maged/Controller.php(170): Maged_Controller->dispatch()
#15 /home/fourshop/public_html/downloader/index.php(35): Maged_Controller::run()
#16 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magento_Ireland
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2010-03-15
 

Can you confirm that you have placed your php.ini file inside both the root directory and inside the downloader folder? If not paste the following into a simple text file and save it as php.ini. It’s a very simple php.ini with only the bare essentials.

max_execution_time 3200
max_input_time 1000
memory_limit 64M
extension=pdo.so
extension=pdo_mysql.so
extension=pdo_sqlite.so
safe_mode 
off
popen
=1
 
Magento Community Magento Community
Magento Community
Magento Community
 
muzafar
Member
 
Avatar
Total Posts:  60
Joined:  2009-03-28
Lahore
 

thankx for reply in my php.ini files all is right execpt popen=1, i add in php.ini but still same worring show.

Magento Ireland - 28 May 2010 02:43 AM

Can you confirm that you have placed your php.ini file inside both the root directory and inside the downloader folder? If not paste the following into a simple text file and save it as php.ini. It’s a very simple php.ini with only the bare essentials.

max_execution_time 3200
max_input_time 1000
memory_limit 64M
extension=pdo.so
extension=pdo_mysql.so
extension=pdo_sqlite.so
safe_mode 
off
popen
=1
 
Magento Community Magento Community
Magento Community
Magento Community
 
teppey
Jr. Member
 
Total Posts:  2
Joined:  2009-05-05
 
Pedro Teixeira Ferraz - 27 February 2010 11:32 AM

ypeo,

This is my php.ini and this works for me.

This is not the Magento php.ini.

Good luck!

this works for me too, thanks a lot

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 3 of 3