I am having some problems executig the symfony command on my project root directory.
Some useful information:
symfony file permissions: -rwxr-xr-x 1 root root
symfony file content:
chdir(dirname(__FILE__));
require_once(dirname(__FILE__).'/config/ProjectConfiguration.class.php');
include(sfCoreAutoload::getInstance()->getBaseDir().'/command/cli.php');
Every time I execute the symfony command, the result is empty. I'm currently using as development environment Ubuntu 10.04 as operating system and Eclipse PDT as IDE.
Can anyone give me some help?
What happens if you execute it via php?
php symfony
What happens if you type just
php
then enter in your shell?
It might be that you need to install the php5-cli package.
sudo apt-get install php5-cli
Then you should be able to execute
php symfony
or
./symfony
Sorry about the late answer but I had been submerged in work the past few days. After searching a lot, I finally found the problem.
Once I had installed the phpunit plugin, the auloading process was searching for libraries that are only installed with phpunit itself (it is signaled as requirement on the plugin page !). I found the problem when I finally remembered to inspect the php5 log file, that pointed me to the right direction.
Thanks all for the help!
Best regards!
Related
Good evening people, I am trying to install pgadmin4 on fedora 36, I followed all the steps in the documentation and pgadmin4 and its dependencies were installed correctly but I do not know how to start it, or open it and it does not let me configure it on the web because I do not create the directory described in the final step to configure the web version.
I had the same problem. I solved it installing pgadmin4 from linux-pachages
https://linux-packages.com/fedora-36/package/pgadmin4-qtx86-64
I followed the same instructions but mistakenly changing "yum" to "dnf" out of force of habit. I found I got an install out of it which seemed OK at a glance, but it was just documentation and not an executable, and there was no shortcut added to run pgAdmin. Perhaps you might have inadvertently done something similar? After uninstalling, I tried again using "yum" exactly as documented and the latest executable installed without any issue. So the steps to install that would work for me were as follows. (Desktop version in my case.)
sudo rpm -e pgadmin4-fedora-repo
sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop
The QT workaround also mentioned as an answer worked for me, but I wanted to avoid that since it is an earlier release (6.9) than the current 6.11, isn't officially supported and fires a warning about that every time on start up saying some functionality may be missing, which is not good for clients to see potentially in my case.
Same problem - couldn't open it after installing. You have to install pgadmin4-desktop not pgadmin4.
I am trying to get work PostgresSQL with PHP, but i stuck on that apache error:
Call to undefined function pg_connect().
When i run phpinfo() i cannot see that my module is loaded, but i do not know why. The pgsql.ini files were loaded. And when i open them, i can see, that the extension is enabled extension=pgsql.so. Under /usr/lib64/php5/extensions there is the .so file. Even the permission are same like the other modules.
Any idea what am I doing wrong?
It would help if you could describe what operating system you are using. I'm assume Linux, but which distribution? One package that is often forgotten when installing postgresql and php is php5-pgsql. This is the connection between the two. For some reason I cannot explain, it is best if all three are installed together. So I suggest uninstalling postgresql and php and then installing postgresql, php5 and php5-pgsql. I hope this works for you!
I found it out. Some libraries where not found.
1.) First of all run php -version
2.) If there is an error where it described that some libraries are missing, you can solve it like me
3.) Search for the files on your system find / -name {LIBRARY NAME}
3a.) If you found them, just create a symlink to /usr/lib64
3b.) If not, find a way to get them and 3 3a
I am getting a bunch of compile errors when I try to install the MySQL DBD::mysql Perl library. I am trying to install this library on OpenSuse linux (SUSE Linux Enterprise server 10 (x86_64) version 10, patch level 4)
The install fails when trying to compile dbdimp.h. There are hundreds of complile errors but I have reason to believe they all stem from the first 3:
dbdimp.h:23:49: error: mysql.h: No such file or directory
dbdimp.h:24:45: error: mysqld_error.h: No such file or directory
dbdimp.h:26:49: error: errmsg.h: No such file or directory
I believe that the reason I am getting the errors above is that I have no MySql Client installed. I do not know how to install mysql client (I believe I am supposed to get some version of libmysqlclient).
I am brand new to opensuse and vaguely familar with installing packages on Linux in general have used yum, yast, apt-get on ubuntu + centOS previously but the only package manager tools that seem to be on OpenSuse 10 are rpm and zypper. I have not managed to install the required mysql client using either of these. If anyone knows how to install MySql Client to resolve my issue I would greatly appreciate any recomendations
Thanks
You need to install MySQL or the MySQL client libraries, either through your system's package manager or by following the installation instructions from the source code.
It sounds like your question is really "How do I install MySQL on OpenSuse", which would be more appropriate for one of the other StackExchange sites.
I was able to resolve this to a point. In my original question, I stated that I had tried using YAST but that it had not worked. In fact, I did not fully explore the YAST install option but when I did, I managed to download install the required librarys by following an article I found (http://adminramble.com/install-mysql-yast/#chitika_close_button)
I was able to open the YAST GUI in the terminal window (not an X-window display) and navigate through the "software management" section wherein I was able to do a search for MySql. Amoung the search results were mysql client libraries, which I then selected and hit "Accept". The installation started and completed successully.
In order to complile the PERL DBD::mysql module, I had to create a new makefile with the ccflags specified so that the header files could be found:
perl Makefile.PL --cflags -I/usr/include/mysql
I say "to a point" at the top of this comment because I then ran into further problems compiling but my original issue posted has been partially resolved and getting this far may help someone else who is experiencing the same problem. Will update if I get a solution to the compile problem.
today i have recompiled PHP with PDO msql driver and now i cant use Zend CLI tool anymore.
Before Zend CLI tool was working fine, but now i get:
./zf.sh: 44: php: Permission denied
I am really out of ideas what is the problem here :/
i have tried changing permsissions, groups, google... but i didnt find any answers for this type of problem :/
Please help if you have any suggestion what should i do :)
Almost forgot:
Ubuntu, PHP 5.3 (as module) on apache 2.0
thanks for your time and reply!
Edit (PB): For those wondering, line 44
"$PHP_BIN" -d safe_mode=Off -f "$PHP_DIR/zf.php" -- "$#"
Why did you recompile php5? You can just compile the required PDO libs as well you know :p.
And AFAIK MSSQL is (or was at least) compatible with the Sybase DB drivers, so you could just as easily use these.
Check out Install PDO, PDO_SQLITE, PDO_DBLIB, PDO_MYSQL, it should work for Ubuntu too since it's Debian based.
BTW Just reinstall php5 that came with Ubuntu first, then follow the instructions there.
Hope it helps!
I tried to install the sfTaskExtraPlugin using
symfony plugin:install sfTaskExtraPlugin
and received
Installation of "sfTaskExtraPlugin" plugin failed: unable to unpack (...)sfTaskExtraPlugin-1.3.3.tgz
I know I can simply install it manually by unpacking it to the plugin directory and including it into the ProjectConfiguration.
But I would like to be able to install all that is possible through the installer, as it is way more comfortable.
My system details: symfony 1.4 on Windows 7 (64 bit) with XAMPP 1.7.4.
Thanks!
Not an expert on this but my guess is that you're missing a utility/program that would allow Windows to unpack the tgz file. I'd Google around, install the relevant utility(ies) and try again.
I'm using the exact same setup as you as my dev environment and don't have that problem.
I have same problem and I have no solution.
One solution is: try again and again and again. It should work! :)
I'm not kidding. To install symfony 1.4.8 via pear on my Windows7 by using xampp 1.7.4 I just stupidly repeated installation.