I've set DB-postgresql 9.6 and php7 (in open server). In general error:
Error
As i understand problem with version php. because postgresql works with php 5.5
How i can correct this? In advance thank you.
Related
I want to connect mssql in my site and it's on CENTOS 6 and I am using PHP 5.5.
Got many solutions online about installing drivers regarding the PDO and ODBC, always getting error of no package found or failed dependencies, don't know why I am not able to install or proceed further.
Any help will be appreciated.
Thanks
If You want to use mssql_connect, You need to install php-mssql from extras repository:
yum install --enablerepo=extras php-mssql
and restart httpd:
service httpd restart
That's it :-)
Hello and excuse my english.
I'm trying to pull a remote database with heroku, but it gives me this error:
pg_dump: server version: 9.4.5; pg_dump version: 9.3.10
pg_dump: aborting because of server version mismatch
pg_restore: [archiver] input file is too short (read 0, expected 5)
I'm guessing I just need to upgrade my current version 9.3.10 to server version 9.4.5, but is not clear to me how to do it.
PD: I don't mind losing the data of my current databases.
The only solution I found was to completely delete postgresql 9.3 and then installed postgresql 9.4
I am using solr4 in tomcat. Now i am planning to migrate it to Solr 5.3 , i tried to start the server using solr start . But i got the below exception
java.io.IOException: Cannot read file: solr-5.3.0\solr-5.3.
0\server\modules\http.mod
at org.eclipse.jetty.start.Modules.registerModule(Modules.java:549)
at org.eclipse.jetty.start.Modules.registerAll(Modules.java:486)
at org.eclipse.jetty.start.Main.processCommandLine(Main.java:608)
at org.eclipse.jetty.start.Main.main(Main.java:111)
I cant see any stacktrace in the console. except the below error message
ERROR: Solr at http://localhost:8983/solr did not come online within 30 seconds!
i think there might be some basic configuration i am missing , please help .
Thanks in advance
Check your java version, it has to be 1.7 minimum for Solr 5.3
Check the logs at solr_folder/server/logs, the cause will be there.
Simply stopping the server and then restarting it helped:
D:\Apache Solr\solr-6.6.0\bin>solr.cmd stop -all
Stopping Solr process 8072 running on port 8983
I have downloaded the new version(4.3) but when I go to the
http://localhost/agiletoolkit/
this error is shown:
Parse error: syntax error, unexpected '[' in phar://D:/wamp/www/agiletoolkit/agiletoolkit-sandbox.phar/lib/AgileToolkit/Installer.php on line 73
could you please help me how to install the new version?
Thanks
New ATK 4.3 version mostly use new PHP array notation [1,2,3] instead of old array(1,2,3) which is available only if you use PHP 5.4 and up.
So, please upgrade your PHP installation to at least 5.4 and then try again.
I am trying to run php on glassfish server using Quercus and i get the following error on top of my page
NetBeansProjects/WebApplication1/build/web/q2a/qa-include/qa-index.php:512: Notice: $count is an undefined variable NetBeansProjects/WebApplication1/build/web/q2a/qa-include/qa-index.php:556: Notice: $themeclass is an undefined variable [qa_load_theme_class].
Did anyone have the same problem before?
Thanks
Install newer version of Quercus 4.0.7 and your problem will be solved!